package easysearch.classes
{
	import com.facebook.graph.FacebookDesktop;
	public class App
	{

			public var resultType:String = "App";
			public var appID:String;
			public var photoURL:String;
			public var name:String;
			public var description:String;
			public var category:String;
			public var subcategory:String;
			public var monthlyUsers:String;
			
			public function App(json:Object){
				appID = json.id;
				photoURL = FacebookDesktop.getImageUrl(appID, "large");
				name = json.name;
				description = json.description;
				category = json.category;
				subcategory = json.subcategory;
				monthlyUsers = json.monthly_active_users;
			}
	}
}